package cn.woblog.android.httputils.exception;

public class AppException extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = 6783187971496081563L;
	private Type type;

	public enum Type {
		FileNotFoundException, IllegalStateException, ParseException, IOException, CanceledException, TimeoutException, ClientProtocolException, MalformedURLException, ProtocolException

	}

	public AppException(Type type, String detailMessage) {
		super(detailMessage);
		this.type = type;
	}

	public Type getType() {
		return type;
	}

}
